package com.ruoyi.edh.mapper;

import java.util.List;
import com.ruoyi.edh.domain.EdhSupplier;

/**
 * 易订货-供应商Mapper接口
 * 
 * @author xxx
 * @date 2020-09-03
 */
public interface EdhSupplierMapper 
{
    /**
     * 查询易订货-供应商
     * 
     * @param id 易订货-供应商ID
     * @return 易订货-供应商
     */
    public EdhSupplier selectEdhSupplierById(Long id);

    /**
     * 查询易订货-供应商列表
     * 
     * @param edhSupplier 易订货-供应商
     * @return 易订货-供应商集合
     */
    public List<EdhSupplier> selectEdhSupplierList(EdhSupplier edhSupplier);

    /**
     * 新增易订货-供应商
     * 
     * @param edhSupplier 易订货-供应商
     * @return 结果
     */
    public int insertEdhSupplier(EdhSupplier edhSupplier);

    /**
     * 修改易订货-供应商
     * 
     * @param edhSupplier 易订货-供应商
     * @return 结果
     */
    public int updateEdhSupplier(EdhSupplier edhSupplier);

    /**
     * 删除易订货-供应商
     * 
     * @param id 易订货-供应商ID
     * @return 结果
     */
    public int deleteEdhSupplierById(Long id);

    /**
     * 批量删除易订货-供应商
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteEdhSupplierByIds(Long[] ids);
}
